import 'package:fish_redux/fish_redux.dart';
import '../../../app_files.dart';

class PlanListViewState implements Cloneable<PlanListViewState> {
  int currentIndex = GlobalStore.store.getState().userInfo.currentPlan;
  List plans;
  EasyRefreshController refreshController = EasyRefreshController();

  @override
  PlanListViewState clone() {
    return PlanListViewState()
      ..currentIndex = currentIndex
      ..plans = plans
      ..refreshController = refreshController;
  }
}

PlanListViewState initState(Map<String, dynamic> args) {
  return PlanListViewState();
}
